function main() {
   document.querySelectorAll('.aho-input-text input[type="text"],input[type="password"]').forEach((ele)=>{
        if (ele.value != "") {
        	let parent = ele.parentNode;
            let lable = parent.querySelector('label');
            lable.classList.add("lable-raised");
        }
        ele.addEventListener('focus',(e)=>{
            let parent = e.target.parentNode;
            let lable = parent.querySelector('label');
            lable.classList.add("lable-raised");
        });
        ele.addEventListener('focusout',(e)=>{
            if (e.target.value == "") {
                let parent = e.target.parentNode;
                let lable = parent.querySelector('label');
                lable.classList.remove("lable-raised");
            }
        });
   });
}

window.addEventListener('DOMContentLoaded',main);